package com.tianma315.admin.staff.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.tianma315.admin.common.base.CoreService;
import com.tianma315.admin.staff.VO.StaffVO;
import com.tianma315.admin.staff.domain.StaffDO;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.springframework.web.multipart.MultipartFile;

/**
 * 
 * <pre>
 * 员工表
 * </pre>
 * <small> 2019-05-27 15:30:33 | Aron</small>
 */
public interface StaffService extends CoreService<StaffDO> {

    Page<StaffVO> getStaffVOPage(Integer pageNumber, Integer pageSize, StaffDO staffDTO);

    StaffVO getStaffVO(Integer id);

    Boolean addStaff(StaffDO staffDO);

    Boolean deleteStaff(Integer id);

    Boolean updateStatus(Integer id,Integer status);

    HSSFWorkbook exportStaff();

    void importStaff(MultipartFile file, Long userId);
}
